package com.jcx.ldzj.dao;

import com.jcx.ldzj.entity.RoleMenuRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 权限角色关联表 Mapper 接口
 * </p>
 *
 * @author ld
 * @since 2021-08-10
 */
@Mapper
public interface RoleMenuRelationMapper extends BaseMapper<RoleMenuRelation> {

    List<RoleMenuRelation> getRolesBymenuId(String menuId) ;

    List<RoleMenuRelation> getMenuByRoleId(String roleId);



    boolean deleteMenuByRoleId(String roleId);
}
